<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets">
<h:head>

	<title>JSF 2.0: Blank Starting-Point Project</title>
</h:head>
<h:body>

<ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets"
 template="/templates/template1.xhtml">
 

 <ui:define name="sayWellcome">
  Wellcome #{user.userName}
 </ui:define>
 
 <ui:define  name="lkLogonOut">
 <h:link outcome="logon" value="Logout" rendered="#{user.userName != null?true:false}"></h:link>
  <h:link outcome="logon" value="Logon" rendered="#{user.userName == null?true:false}"></h:link>
  <h:form>
  <h:commandLink   action="#{user.logout}">Logout</h:commandLink>
  </h:form>
 </ui:define>
 
 <ui:define name="logo" >
 <img id="logo1"  src="images/logo1.jpg" alt="no see" />
 </ui:define>
 
 <ui:define name="menu">
 <ui:include src="menu.xhtml"></ui:include>
 </ui:define>


</ui:composition>

</h:body>
</html>